﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MastePage/SubEmptyMaster.Master" AutoEventWireup="true" CodeBehind="SupplierView.aspx.cs" Inherits="BySoft.Web.Site.MasteData.SupplierView" %>

<%@ MasterType VirtualPath="~/MastePage/SubEmptyMaster.Master" %>
<%@ Register Assembly="OneSoft.Web" Namespace="OneSoft.Web.UI.WebControls" TagPrefix="asp" %>
<%@ Register Src="../UserControl/SuggestTextBox2.ascx" TagName="SuggestTextBox2"
    TagPrefix="uc1" %>
<%@ Register Assembly="BySoft.Web.Controls" Namespace="BySoft.Web.Controls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadPlace" runat="server">
    <script type="text/javascript">
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EmptyMasteCPH" runat="server">
    <h1 class="tit">基础资料 >> <a href="SupplierList.aspx">供应商资料</a> >> 查看</h1>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="tableStyle2">
                <table cellpadding="0" cellspacing="0" border="1">
                    <tr>
                        <th class="left2">供应商编号：</th>
                        <td class="right2"><asp:Label ID="lblSupplierID" runat="server" Text="" class="lblreadonly"></asp:Label></td>
                        <th class="left2">供应商名称：</th>
                        <td class="right2">
                            <asp:Label CssClass="" ID="txtSupplierName" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <th class="left2">公司地址：</th>
                        <td class="right2"><asp:Label CssClass="" ID="txtAddr" runat="server"></asp:Label></td>
                        <th class="left2">供应商等级：</th>
                        <td class="right2">
                            <asp:Label CssClass="" ID="lblSupplierScaler" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="tableStyle">
	            <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" id="tabs">
                    <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
                        <li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#tabs-1">明细</a></li>
                    </ul>
		            <div id="tabs-1" class="tableStyle ui-tabs-panel ui-widget-content ui-corner-bottom">
                        <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                            <ContentTemplate>
                                <div>
                                    <asp:SGridView runat="server" ID="grdDetail" AutoGenerateColumns="false" Width="100%">
                                        <Columns>
                                            <asp:TemplateField HeaderStyle-CssClass="Hidden" ItemStyle-CssClass="Hidden">
                                                <HeaderTemplate>供应商编号</HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="lblsSupplierID" runat="server" Text='<%#  Eval("SupplierDetailID") %>'></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField>
                                                <HeaderTemplate>联系人姓名</HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="txtContactName" runat="server" Text='<%#  Eval("ContactName") %>'></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField>
                                                <HeaderTemplate>联系电话</HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="txtTel" runat="server" Text='<%#  Eval("Tel") %>'></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField>
                                                <HeaderTemplate>职位</HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="txtJob" runat="server" Text='<%#  Eval("Job") %>'></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField>
                                                <HeaderTemplate>手机号码</HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="txtMobile" runat="server" Text='<%#  Eval("Mobile") %>'></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField>
                                                <HeaderTemplate>Email</HeaderTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="txtEmail" runat="server" Text='<%#  Eval("Email") %>'></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                    </asp:SGridView>
                                </div>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
	            </div>
	        </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <div class="controlBar" align="center">
        <table cellpadding="0" cellspacing="0" style="width: 140px; margin: 0 auto;">
            <tr>
                <td>
                    <label class="btnStyleb png_bg">
                        <input type="button" id="btnBack" value="返回" onclick="window.location = 'SupplierList.aspx'"
                            class="png_bg" /></label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>